#ifndef _WDS_BULLET_ION_H_
#define _WDS_BULLET_ION_H_

#include "wds_bullet.h"

class WDSBulletION : public WDSBullet
{
public:

	

	WDSBulletION(	float Speed, 
				bool Rotate,
				float DamagePower,
				BULLET_TYPES Type
				);
	

	virtual void					Render(const math::Vec2& Offset,float Scale);
	
	virtual void					Tick(float dt,float SkillBulletSpeed, const math::Vec2& Offset);
	virtual void					ReSpawn(const math::Vec2& Pos,
											WDSBullet::STARTPOS StartDir,
											float Degree
											);
	
	virtual	void					OnHit(WDSLifeObject* pObj);	
	virtual bool					IsCanRespawn() const;

	void							SetCountToBounce(int Count) { m_CountToBounce = Count; };
	
	

protected:

	int								m_CountToBounce;
	float							m_DelayShowingBounces;
	math::Vec2						m_BounceFrom;
	std::vector<math::Vec2>			m_BounceTos;

};

#endif